#if !defined(AFX_SOCKETCLIENT_H__EC2EED01_2051_427B_9541_87093F42EEDB__INCLUDED_)
#define AFX_SOCKETCLIENT_H__EC2EED01_2051_427B_9541_87093F42EEDB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SocketClient.h : header file
//



/////////////////////////////////////////////////////////////////////////////
// CSocketClient command target

class CSocketClient : public CAsyncSocket
{
// Attributes
public:

// Operations
public:
	CSocketClient();
	virtual ~CSocketClient();

// Overrides
public:
	unsigned char m_RecvBuff[1024];
	int m_RecvLen;
	void GetData(void *arg);
	int GetRecvLength(void);
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSocketClient)
	public:
	virtual void OnConnect(int nErrorCode);
	virtual void OnReceive(int nErrorCode);
	virtual int Send(const void* lpBuf, int nBufLen, int nFlags = 0);
	virtual void OnClose(int nErrorCode);
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CSocketClient)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

// Implementation
protected:
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SOCKETCLIENT_H__EC2EED01_2051_427B_9541_87093F42EEDB__INCLUDED_)
